<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>日常生活状况</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!-- 公共样式 开始 -->
		
		<link rel="stylesheet" type="text/css" href="layui/css/layui.css">
		<script type="text/javascript" src="layui/layui.js"></script>
		
  </head>
  <body>
	<div class="backRoleSysModel-con">
			<div class="layui-form-item">
				<form class="layui-form" action="">
				  <div class="layui-form-item" >
				   <br>
					    <div class="layui-input-inline">
							<input style="width:190px;margin-left:10px;" type="text" name="price"class="layui-input">
						</div>
						<div class="layui-inline">
							<button id="btnselbackrole" type="button"class="layui-btn layuiadmin-btn-useradmin layui-btn-radius">查询</button>
						</div>
						<div class="layui-inline">
							<button class="layui-btn layuiadmin-btn-useradmin layui-btn-radius" type="button"id="btn_income">测试</button>
						</div>
				  </div>
				</form>
			</div>
		<table style="margin-left:10px;" class="layui-hide" id="backrolesystemmodel" lay-filter="tool"></table>
		<script type="text/html" id="barDemo"> 
				  <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="edit"><i class="layui-icon layui-icon-edit"></i>编辑</a>
				  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del"><i class="layui-icon layui-icon-delete"></i>删除</a>
        	 </script>
		<script type="text/html" id="selectbar">
				<input type="checkbox" name="{{d.deepth}}" value="{{d.id}}" title="授予" lay-filter="lockDemo" {{ d.isedit == "1" ? 'checked' : '' }}>
			</script>

		<script type="text/html" id="menuTypebar">
				<span>{{ d.deepth <= "1" ? '展开菜单' : '子菜单' }}</span>
			</script>

	</div>
	<script>
layui.use(['form', 'layedit', 'laydate','table'], function(){
  var form = layui.form
  ,layer = layui.layer
  ,table = layui.table
  ,layedit = layui.layedit
  ,laydate = layui.laydate;
  
  //日期
  laydate.render({
    elem: '#date'
  });
  laydate.render({
    elem: '#date1'
  });
  laydate.render({
    elem: '#datetime'
  });
  laydate.render({
    elem: '#date2'
  });
  table.render({
		elem: '#backrolesystemmodel',
		id:'backrolesys',
		url: 'bookkeep/bookkeepselect',
		loading: true,
		title: '角色数据表',
		skin: 'line',
		height:'full-50',
		widht:'600',
		page: true,
		curr:1,
		limit: 7,
		limits: [10, 20, 30],
		even: true,
		cols: [
			[
			
			{
				field: 'money',
				align: 'center',
				title: '测试'						
			} ,
			
			{
				field: 'datetime',
				align: 'center',
				title: '时间'						
			} ,
			{
				field: 'remark',
				align: 'center',
				title: '备注'						
			} ,{
				field: 'isedit',
				align: 'center',
				title: '操作',
				toolbar : '#barDemo'
			}]
		]
	});
});
  </script>
</body>
</html>
